package org.xlp.bean.impl;

import org.xlp.bean.base.IBeanDefinition;
import org.xlp.bean.base.IBeanDefinitionCreator;

/**
 * 用户默认Bean定义创建器
 */
public class CustomBeanDefinitionCreator implements IBeanDefinitionCreator {
    /**
     * 根据给定的bean创建对应的bean定义
     *
     * @param beanClass bean类型
     * @return
     */
    @Override
    public IBeanDefinition createBeanDefinition(Class<?> beanClass) {
        return new CustomClassOfBeanDefinition(beanClass);
    }
}
